<tpl>
<div class="layui-fluid"><div class="layui-row layui-col-space15"><div class="layui-col-md12">
  <div class="layui-card" id="cardBody">
    <!--# include virtual="/lib/jump-top.html" -->
    <div class="layui-card-header">{{ d.title }}</div>
    <div class="layui-card-body">
      {{ d.headTip }}
      <form class="layui-form layui-form-pane" lay-filter="js-form">
        <input type="text" class="hide" name="unAutoSubmit" />
        <!-- {:token()} -->
        <div class="layui-inline">
          <!-- <label for="jsf-kword" class="layui-form-label">关键词</label> -->
          <div class="layui-input-inline" style="width: 200px;">
            <input type="text" id="jsf-kword" name="kword" class="layui-input" lay-require="true" required placeholder="{{ LL('config name') }} | {{ LL('call name') }}">
          </div>
        </div>
         <div class="layui-inline">
          <!-- <label for="jsf-group" class="layui-form-label">角色</label> -->
          <div class="layui-input-inline" style="width: 150px;">
            <select name="group" id="jsf-group" lay-filter="search"  lay-search>
              <option value="0">{{ LL('all group') }}</option>
              {{# layui.each( _rb.d.groups , function(i, e){ }}
              <option value="{{ e.id }}">{{ e.name }}</option>
              {{# }); }}
            </select>
          </div>
        </div>
        <!--# include virtual="/tpl/form-search.html" -->
      </form>
      <table id="demo" lay-filter="index-table"></table>
    </div>
  </div>
</div></div></div>
</tpl>

<lay>
<script type="text/html" id="toolbarDemo">
  <div class="block clearfix">
    <div class="layui-btn-group">
      <!--# include virtual="/tpl/a-add-dels-bans.html" -->
    </div>
  </div>
</script>
<script type="text/html" id="barDemo">
  <div class="layui-btn-group">
    <a data-href="{{ _rb.path }}/detail" data-params='"id":{{ d.id }}' class="layui-btn layui-btn-sm ajax-layer" title="{{ LL('look detail') }}"><i class="layui-icon layui-icon-username"></i>{{ L('detail') }}</a>
    <!--# include virtual="/tpl/a-edit-del.html" -->
  </div>
</script>

<script type="text/html" id="valueTpl">
{{# if(d.type == 3) { }} {{ L('array') }} => {{# } }}
{{ d.value }}
</script>
<script type="text/html" id="groupTpl">
{{ _rb.d.groups['i' + d.group]['name'] }}
</script>
</lay>

<js>
<!--# include virtual="/sysConfig/indexConfig.js" -->
</js>